<!--
 *********************************************************************************************************************************************************************************
 * #######################
 * #   FILE DESCRIPTOR   #
 * #######################
 * Application: BiblioteQ Online
 * Package: WebContent
 * File: restricted/navigation/Restricted_Browse_Sub_Navigation.xhtml
 * 
 * #######################
 * #   GNU DISCLAIMER    #
 * ####################### 
 * BiblioteQ Online is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation,
 * either version 3 of the License, or (at your option) any later version. BiblioteQ Online is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
 * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
 * 
 * #######################
 * #       Purpose       #
 * #######################
 * Provides the sub navigation menu that controls the filter on the browse results.
 *
 * #######################
 * #      Revision       #
 * ####################### 
 * Aug 03, 2012, Clinton Bush, 1.0.0,
 *    New file.
 * 
 ********************************************************************************************************************************************************************************** 
 *
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:a4j="http://richfaces.org/a4j"> 

<h:head></h:head> 
<body> 
	<ui:composition>
		<div class="subNavBox">
			<table width="100%" cellpadding="0" cellspacing="1" style="float: left; clear: both;">
				<tr>
					<td>
						<a4j:commandLink value="Subject" execute="@all" render="@all" styleClass="#{Browse_Backing.typeFilter == 'Subject' ? 'subLinks highlightSubLinksSelected' : 'subLinks highlightSubLinks'}">
							<a4j:param assignTo="#{Browse_Backing.typeFilter}" value="Subject" />
							<a4j:actionListener listener="#{Browse_Backing.getNextResultSet}" />
						</a4j:commandLink>
					</td>
				</tr>
				<tr>
					<td>
						<a4j:commandLink value="Type" execute="@all" render="@all" styleClass="#{Browse_Backing.typeFilter == 'Type' ? 'subLinks highlightSubLinksSelected' : 'subLinks highlightSubLinks'}">
							<a4j:param assignTo="#{Browse_Backing.typeFilter}" value="Type" />
							<a4j:actionListener listener="#{Browse_Backing.getNextResultSet}" />
						</a4j:commandLink>
					</td>
				</tr>
				<tr>
					<td>
						<a4j:commandLink value="Creator" execute="@all" render="@all" styleClass="#{Browse_Backing.typeFilter == 'Creator' ? 'subLinks highlightSubLinksSelected' : 'subLinks highlightSubLinks'}">
							<a4j:param assignTo="#{Browse_Backing.typeFilter}" value="Creator" />
							<a4j:actionListener listener="#{Browse_Backing.getNextResultSet}" />
						</a4j:commandLink>
					</td>
				</tr>
				<tr>
					<td>
						<a4j:commandLink value="Location" execute="@all" render="@all" styleClass="#{Browse_Backing.typeFilter == 'Location' ? 'subLinks highlightSubLinksSelected' : 'subLinks highlightSubLinks'}">
							<a4j:param assignTo="#{Browse_Backing.typeFilter}" value="Location" />
							<a4j:actionListener listener="#{Browse_Backing.getNextResultSet}" />
						</a4j:commandLink>
					</td>
				</tr>
			</table>
		</div>
	</ui:composition>
</body> 
</html>
